home *** CD-ROM | disk | FTP | other *** search
/ SGI O2 Out of Box Experience / SGI O2 Out of Box Experience.iso / jungleIsland / CyberGourds / terrain.wrl < prev    next >
Text File  |  1996-11-14  |  49KB  |  1,779 lines

  1. #VRML V2.0 utf8 CosmoCreate3D V1.0
  2.  
  3. Group {
  4.   children    [
  5.     Transform {
  6.       children    [
  7.     DEF _0 NavigationInfo {
  8.       headlight    TRUE
  9.       type    "EXAMINE"
  10.     }
  11.     Group {
  12.       children    [
  13.         DEF Cameras Group {
  14.           children    [
  15.         DEF ENTRY Viewpoint {
  16.           position    0 1 9
  17.           description    "entry"
  18.         }
  19.         DEF V1 Viewpoint {
  20.           position    0.537575 2.01023 6.94414
  21.           orientation    -0.972196 0.232486 0.0280181  0.246667
  22.           description    "v1"
  23.         }
  24.         DEF V2 Viewpoint {
  25.           position    -8.89681 0.443419 0.661569
  26.           orientation    0.00893149 -0.999936 0.00698835  1.32796
  27.           description    "v2"
  28.         }
  29.         DEF V3 Viewpoint {
  30.           position    -8.84854 3.63608 -5.73529
  31.           orientation    0.111164 0.976714 0.1835  4.21017
  32.           description    "v3"
  33.         }
  34.         DEF V4 Viewpoint {
  35.           position    -0.854542 8.00832 -4.03934
  36.           orientation    0.0408774 0.81824 0.573422  3.337
  37.           description    "v4"
  38.         }
  39.         DEF V5 Viewpoint {
  40.           position    -0.274156 0.443419 -9.14499
  41.           orientation    -0.000256163 0.999937 -0.0112666  3.18685
  42.           description    "v5"
  43.         }
  44.         DEF V6 Viewpoint {
  45.           position    8.94016 0.498713 -1.08307
  46.           orientation    0.00430923 0.99998 -0.00460733  1.63762
  47.           description    "v6"
  48.         }
  49.         DEF V7 Viewpoint {
  50.           position    2.31026 0.443419 5.50381
  51.           orientation    -0.0156295 0.999875 0.00254726  0.323984
  52.           description    "v7"
  53.         }
  54.           ]
  55.         }
  56.         DEF CYBERGOURDS-ROOT Group {
  57.           children    [
  58.         DEF PAD-ROOT Transform {
  59.           children    [
  60.             DEF PAD-XFORM Transform {
  61.               children    [
  62.             Transform {
  63.               children    Shape {
  64.                 appearance    Appearance {
  65.                   material    DEF PAD-MAT_1 Material {
  66.                 diffuseColor    0.315389 0.544 0.258052
  67.                 specularColor    0.456 0.456 0.456
  68.                 emissiveColor    0 0 0
  69.                 shininess    0.55
  70.                   }
  71.  
  72.                 }
  73.  
  74.                 geometry    Sphere {
  75.                 }
  76.  
  77.               }
  78.  
  79.               translation    0.114322 -1 -3.11874e-07
  80.               rotation    0.945449 0.319805 -0.0620523  0.304833
  81.               scale    1.86945 0.160217 1
  82.             }
  83.             DEF PAD-TRIGGER_2 TouchSensor {
  84.             }
  85.             DEF PAD-TIMER_3 TimeSensor {
  86.               cycleInterval    0.5
  87.               startTime    0
  88.               stopTime    1
  89.             }
  90.             DEF PAD-FLASHER_4 ColorInterpolator {
  91.               key    [ 0, 0.5, 1 ]
  92.               keyValue    [ 0 0 0,
  93.                     0.3 0.5 0.25,
  94.                     0 0 0 ]
  95.             }
  96.               ]
  97.             }
  98.             Sound {
  99.               source    DEF PAD-S0_5 AudioClip {
  100.             url    "Sounds/snare1.wav"
  101.             startTime    0
  102.             stopTime    0
  103.               }
  104.  
  105.               minFront    10
  106.               maxFront    50
  107.               minBack    10
  108.               maxBack    50
  109.             }
  110.             Sound {
  111.               source    DEF PAD-S1_6 AudioClip {
  112.             url    "Sounds/snare2.wav"
  113.             startTime    0
  114.             stopTime    0
  115.               }
  116.  
  117.               minFront    10
  118.               maxFront    50
  119.               minBack    10
  120.               maxBack    50
  121.             }
  122.             Sound {
  123.               source    DEF PAD-S2_7 AudioClip {
  124.             url    "Sounds/snare3.wav"
  125.             startTime    0
  126.             stopTime    0
  127.               }
  128.  
  129.               minFront    10
  130.               maxFront    50
  131.               minBack    10
  132.               maxBack    50
  133.             }
  134.             DEF PAD-SELECTOR-XFORM Transform {
  135.               children    [
  136.             Transform {
  137.               children    [
  138.                 DEF PAD-BUTTON0-TRIGGER_8 TouchSensor {
  139.                 }
  140.                 DEF PAD-BUTTON0-SWITCHER_9 Switch {
  141.                   whichChoice    1
  142.                   choice    [
  143.                 DEF OFF-BUTTON_10 Shape {
  144.                   appearance    Appearance {
  145.                     material    Material {
  146.                       diffuseColor    0.2 0.2 0.2
  147.                       emissiveColor    0 0 0
  148.                     }
  149.  
  150.                   }
  151.  
  152.                   geometry    Box {
  153.                   }
  154.  
  155.                 }
  156.                 DEF ON-BUTTON_11 Shape {
  157.                   appearance    Appearance {
  158.                     material    Material {
  159.                       diffuseColor    0.2 0.2 0.2
  160.                       emissiveColor    0 1 0
  161.                     }
  162.  
  163.                   }
  164.  
  165.                   geometry    Box {
  166.                   }
  167.  
  168.                 }
  169.                   ]
  170.                 }
  171.               ]
  172.               translation    -3 -5 5
  173.             }
  174.             Transform {
  175.               children    [
  176.                 DEF PAD-BUTTON1-TRIGGER_12 TouchSensor {
  177.                 }
  178.                 DEF PAD-BUTTON1-SWITCHER_13 Switch {
  179.                   whichChoice    0
  180.                   choice    [
  181.                 USE OFF-BUTTON_10
  182.                 USE ON-BUTTON_11
  183.                   ]
  184.                 }
  185.               ]
  186.               translation    0 -5 5
  187.             }
  188.             Transform {
  189.               children    [
  190.                 DEF PAD-BUTTON2-TRIGGER_14 TouchSensor {
  191.                 }
  192.                 DEF PAD-BUTTON2-SWITCHER_15 Switch {
  193.                   whichChoice    0
  194.                   choice    [
  195.                 USE OFF-BUTTON_10
  196.                 USE ON-BUTTON_11
  197.                   ]
  198.                 }
  199.               ]
  200.               translation    3 -5 5
  201.             }
  202.             DEF PAD-LOGIC_16 Script {
  203.               eventOut              SFTime              startTimeS0
  204.               eventOut              SFTime              startTimeS1
  205.               eventOut              SFTime              startTimeS2
  206.               eventOut              SFTime              stopTimeS0
  207.               eventOut              SFTime              stopTimeS1
  208.               eventOut              SFTime              stopTimeS2
  209.               eventOut              SFInt32              button0Switch
  210.               eventOut              SFInt32              button1Switch
  211.               eventOut              SFInt32              button2Switch
  212.               eventOut              SFTime              timerStartTime
  213.               eventOut              SFTime              timerStopTime
  214.               eventIn              SFTime              padTrigger
  215.               eventIn              SFTime              button0Trigger
  216.               eventIn              SFTime              button1Trigger
  217.               eventIn              SFTime              button2Trigger
  218.               field              SFInt32              patchState    0
  219.               field              SFBool              on    FALSE
  220.               url    "vrmlscript:
  221.                 function padTrigger(touchTime) {
  222.                         timerStartTime = touchTime;
  223.                         if (patchState == 0) startTimeS0 = touchTime;
  224.                         else if (patchState == 1) startTimeS1 = touchTime;
  225.                             else if (patchState == 2) startTimeS2 = touchTime;
  226.  
  227. /*
  228.                         timerStopTime = touchTime;
  229.                         stopTimeS0 = touchTime;
  230.                         stopTimeS1 = touchTime;
  231.                         stopTimeS2 = touchTime;
  232. */
  233.                 }
  234.  
  235.                 function button0Trigger(touchTime) {
  236.                     on = TRUE;
  237.                     timerStartTime = touchTime;
  238.                     patchState = 0;
  239.                     stopTimeS1 = touchTime;
  240.                     stopTimeS2 = touchTime;
  241.                     startTimeS0 = touchTime;
  242.                     button0Switch = 1;
  243.                     button1Switch = 0;
  244.                     button2Switch = 0;
  245.                 }
  246.  
  247.                 function button1Trigger(touchTime) {
  248.                     on = TRUE;
  249.                     timerStartTime = touchTime;
  250.                     patchState = 1;
  251.                     stopTimeS0 = touchTime;
  252.                     stopTimeS2 = touchTime;
  253.                     startTimeS1 = touchTime;
  254.                     button0Switch = 0;
  255.                     button1Switch = 1;
  256.                     button2Switch = 0;
  257.                 }
  258.  
  259.                 function button2Trigger(touchTime) {
  260.                     on = TRUE;
  261.                     timerStartTime = touchTime;
  262.                     patchState = 2;
  263.                     stopTimeS0 = touchTime;
  264.                     stopTimeS1 = touchTime;
  265.                     startTimeS2 = touchTime;
  266.                     button0Switch = 0;
  267.                     button1Switch = 0;
  268.                     button2Switch = 1;
  269.                 }
  270.             "
  271.             }
  272.               ]
  273.               translation    0.2 -0.5 1
  274.               scale    0.1 0.1 0.1
  275.             }
  276.           ]
  277.           translation    -0.0348099 0 0.487339
  278.         }
  279.         DEF TOM0-ROOT Transform {
  280.           children    Transform {
  281.             children    [
  282.               DEF TOM0-STEM-XFORM_17 Transform {
  283.             children    Transform {
  284.               children    [
  285.                 DEF TOM0-TRIGGER_18 TouchSensor {
  286.                 }
  287.                 DEF TOM0-BALL-XFORM_19 Transform {
  288.                   children    Shape {
  289.                 appearance    Appearance {
  290.                   material    DEF TOM0-MAT_20 Material {
  291.                     diffuseColor    0.876873 0.323147 0.199564
  292.                     specularColor    0.816327 0.278677 0.278677
  293.                     emissiveColor    0 0 0
  294.                     shininess    0.5
  295.                   }
  296.  
  297.                 }
  298.  
  299.                 geometry    Sphere {
  300.                 }
  301.  
  302.                   }
  303.  
  304.                   translation    0.5 4.43641 0
  305.                   scale    1 1 1
  306.                 }
  307.                 Inline {
  308.                   url    "tom0stem.wrl"
  309.                   bboxCenter    0.0173743 1.85036 0.100784
  310.                   bboxSize    3.91512 3.99161 4.00444
  311.                 }
  312.               ]
  313.               translation    -3.03354 -1.36223 0.628288
  314.               rotation    0.0279899 0.999607 0.00122606  3.05407
  315.               scale    0.559796 0.559796 0.559797
  316.               scaleOrientation    -0.0477334 0.264373 -0.963239  0.210004
  317.               center    -0.110307 0.0110992 0.0144149
  318.             }
  319.  
  320.             scale    1 1 1
  321.             center    0 -1.3 0
  322.               }
  323.               DEF TOM0-TIMER_21 TimeSensor {
  324.             cycleInterval    2.14
  325.             loop    TRUE
  326.             startTime    0
  327.             stopTime    1
  328.               }
  329.               DEF TOM0-FLASHER_22 ColorInterpolator {
  330.             key    [ 0, 0.25, 0.5, 0.75,
  331.                   0.9, 1 ]
  332.             keyValue    [ 0 0 0,
  333.                   0.8 0.3 0.2,
  334.                   0 0 0,
  335.                   0.8 0.3 0.2,
  336.                   0.4 0.2 0.1,
  337.                   0 0 0 ]
  338.               }
  339.               DEF TOM0-THROBBER_23 PositionInterpolator {
  340.             key    [ 0, 0.1, 0.15, 0.35,
  341.                   0.4, 0.6, 0.65, 0.85,
  342.                   0.9, 1 ]
  343.             keyValue    [ 0.9 0.9 0.9,
  344.                   0.8 0.8 0.8,
  345.                   1 1 1,
  346.                   0.8 0.8 0.8,
  347.                   1.2 1.2 1.2,
  348.                   0.8 0.8 0.8,
  349.                   1 1 1,
  350.                   0.8 0.8 0.8,
  351.                   1.2 1.2 1.2,
  352.                   0.9 0.9 0.9 ]
  353.               }
  354.               DEF TOM0-DANCER_24 PositionInterpolator {
  355.             key    [ 0, 0.1, 0.15, 0.35,
  356.                   0.4, 0.6, 0.65, 0.85,
  357.                   0.9, 1 ]
  358.             keyValue    [ 1 0.9 1,
  359.                   1 0.8 1,
  360.                   1 1 1,
  361.                   1 0.8 1,
  362.                   1 1.1 1,
  363.                   1 0.8 1,
  364.                   1 1 1,
  365.                   1 0.8 1,
  366.                   1 1.1 1,
  367.                   1 0.9 1 ]
  368.               }
  369.               Sound {
  370.             source    DEF TOM0-S0_25 AudioClip {
  371.               url    "Sounds/tribalGourd1-1.wav"
  372.               loop    TRUE
  373.               startTime    0
  374.               stopTime    0
  375.             }
  376.  
  377.             minFront    10
  378.             maxFront    50
  379.             minBack    10
  380.             maxBack    50
  381.               }
  382.               Sound {
  383.             source    DEF TOM0-S1_26 AudioClip {
  384.               url    "Sounds/newGourd1-1.wav"
  385.               loop    TRUE
  386.               startTime    0
  387.               stopTime    0
  388.             }
  389.  
  390.             minFront    10
  391.             maxFront    50
  392.             minBack    10
  393.             maxBack    50
  394.               }
  395.               Sound {
  396.             source    DEF TOM0-S2_27 AudioClip {
  397.               url    "Sounds/tomC.wav"
  398.               loop    TRUE
  399.               startTime    0
  400.               stopTime    0
  401.             }
  402.  
  403.             minFront    10
  404.             maxFront    50
  405.             minBack    10
  406.             maxBack    50
  407.               }
  408.             ]
  409.             translation    0.001 0 0
  410.           }
  411.  
  412.         }
  413.         DEF TOM0-SELECTOR-XFORM Transform {
  414.           children    [
  415.             Transform {
  416.               children    [
  417.             DEF TOM0-BUTTON0-TRIGGER_28 TouchSensor {
  418.             }
  419.             DEF TOM0-BUTTON0-SWITCHER_29 Switch {
  420.               whichChoice    1
  421.               choice    [
  422.                 USE OFF-BUTTON_10
  423.                 USE ON-BUTTON_11
  424.               ]
  425.             }
  426.               ]
  427.               translation    -3 -5 5
  428.             }
  429.             Transform {
  430.               children    [
  431.             DEF TOM0-BUTTON1-TRIGGER_30 TouchSensor {
  432.             }
  433.             DEF TOM0-BUTTON1-SWITCHER_31 Switch {
  434.               whichChoice    0
  435.               choice    [
  436.                 USE OFF-BUTTON_10
  437.                 USE ON-BUTTON_11
  438.               ]
  439.             }
  440.               ]
  441.               translation    0 -5 5
  442.             }
  443.             Transform {
  444.               children    [
  445.             DEF TOM0-BUTTON2-TRIGGER_32 TouchSensor {
  446.             }
  447.             DEF TOM0-BUTTON2-SWITCHER_33 Switch {
  448.               whichChoice    0
  449.               choice    [
  450.                 USE OFF-BUTTON_10
  451.                 USE ON-BUTTON_11
  452.               ]
  453.             }
  454.               ]
  455.               translation    3 -5 5
  456.             }
  457.             DEF TOM0-LOGIC_34 Script {
  458.               eventOut              SFTime              startTimeS0
  459.               eventOut              SFTime              startTimeS1
  460.               eventOut              SFTime              startTimeS2
  461.               eventOut              SFTime              stopTimeS0
  462.               eventOut              SFTime              stopTimeS1
  463.               eventOut              SFTime              stopTimeS2
  464.               eventOut              SFInt32              button0Switch
  465.               eventOut              SFInt32              button1Switch
  466.               eventOut              SFInt32              button2Switch
  467.               eventOut              SFTime              timerStartTime
  468.               eventOut              SFTime              timerStopTime
  469.               eventIn              SFTime              padTrigger
  470.               eventIn              SFTime              button0Trigger
  471.               eventIn              SFTime              button1Trigger
  472.               eventIn              SFTime              button2Trigger
  473.               field              SFInt32              patchState    0
  474.               field              SFBool              on    FALSE
  475.               url    "vrmlscript:
  476.                 function padTrigger(touchTime) {
  477.                     if (on == FALSE) {
  478.                         on = TRUE;
  479.                         timerStartTime = touchTime;
  480.                         if (patchState == 0) startTimeS0 = touchTime;
  481.                         else if (patchState == 1) startTimeS1 = touchTime;
  482.                             else if (patchState == 2) startTimeS2 = touchTime;
  483.                     }
  484.                     else {
  485.                         on = FALSE;
  486.                         timerStopTime = touchTime;
  487.                         stopTimeS0 = touchTime;
  488.                         stopTimeS1 = touchTime;
  489.                         stopTimeS2 = touchTime;
  490.                     }
  491.                 }
  492.  
  493.                 function button0Trigger(touchTime) {
  494.                     on = TRUE;
  495.                     timerStartTime = touchTime;
  496.                     patchState = 0;
  497.                     stopTimeS1 = touchTime;
  498.                     stopTimeS2 = touchTime;
  499.                     startTimeS0 = touchTime;
  500.                     button0Switch = 1;
  501.                     button1Switch = 0;
  502.                     button2Switch = 0;
  503.                 }
  504.  
  505.                 function button1Trigger(touchTime) {
  506.                     on = TRUE;
  507.                     timerStartTime = touchTime;
  508.                     patchState = 1;
  509.                     stopTimeS0 = touchTime;
  510.                     stopTimeS2 = touchTime;
  511.                     startTimeS1 = touchTime;
  512.                     button0Switch = 0;
  513.                     button1Switch = 1;
  514.                     button2Switch = 0;
  515.                 }
  516.  
  517.                 function button2Trigger(touchTime) {
  518.                     on = TRUE;
  519.                     timerStartTime = touchTime;
  520.                     patchState = 2;
  521.                     stopTimeS0 = touchTime;
  522.                     stopTimeS1 = touchTime;
  523.                     startTimeS2 = touchTime;
  524.                     button0Switch = 0;
  525.                     button1Switch = 0;
  526.                     button2Switch = 1;
  527.                 }
  528.             "
  529.             }
  530.           ]
  531.           translation    -3 0.7 1
  532.           scale    0.1 0.1 0.1
  533.         }
  534.         DEF TOM1-ROOT Transform {
  535.           children    Transform {
  536.             children    [
  537.               DEF TOM1-STEM-XFORM_35 Transform {
  538.             children    Transform {
  539.               children    [
  540.                 DEF TOM1-TRIGGER_36 TouchSensor {
  541.                 }
  542.                 DEF TOM1-BALL-XFORM_37 Transform {
  543.                   children    Shape {
  544.                 appearance    Appearance {
  545.                   material    DEF TOM1-MAT_38 Material {
  546.                     diffuseColor    0.904409 0.549305 0.224283
  547.                     specularColor    0.0955906 0.0955906 0.0955906
  548.                     emissiveColor    0 0 0
  549.                     shininess    0.51
  550.                   }
  551.  
  552.                 }
  553.  
  554.                 geometry    Sphere {
  555.                 }
  556.  
  557.                   }
  558.  
  559.                   translation    0.5 4.5 0
  560.                   scale    1 1 1
  561.                 }
  562.                 Inline {
  563.                   url    "tom1stem.wrl"
  564.                   bboxCenter    -0.014685 1.88461 0.014415
  565.                   bboxSize    3.851 3.92313 3.8317
  566.                 }
  567.               ]
  568.               translation    -3.3674 -1.34326 -2.00313
  569.               rotation    0.0447946 0.998989 0.00388103  3.40976
  570.               scale    0.759797 0.759796 0.759797
  571.               scaleOrientation    -0.126022 -0.146779 -0.981109  0.0916958
  572.               center    -0.0146884 -0.0322933 0.0630095
  573.             }
  574.  
  575.             scale    1 1 1
  576.             center    0 -1.3 0
  577.               }
  578.               DEF TOM1-TIMER_39 TimeSensor {
  579.             cycleInterval    2.14
  580.             loop    TRUE
  581.             startTime    0
  582.             stopTime    1
  583.               }
  584.               DEF TOM1-FLASHER_40 ColorInterpolator {
  585.             key    [ 0, 0.25, 0.5, 0.75,
  586.                   0.9, 1 ]
  587.             keyValue    [ 0 0 0,
  588.                   0.9 0.5 0.2,
  589.                   0 0 0,
  590.                   0.9 0.5 0.2,
  591.                   0.4 0.2 0.1,
  592.                   0 0 0 ]
  593.               }
  594.               DEF TOM1-THROBBER_41 PositionInterpolator {
  595.             key    [ 0, 0.1, 0.15, 0.35,
  596.                   0.4, 0.6, 0.65, 0.85,
  597.                   0.9, 1 ]
  598.             keyValue    [ 0.8 0.8 0.8,
  599.                   0.7 0.7 0.7,
  600.                   1 1 1,
  601.                   0.7 0.7 0.7,
  602.                   1.2 1.2 1.2,
  603.                   0.7 0.7 0.7,
  604.                   1 1 1,
  605.                   0.7 0.7 0.7,
  606.                   1.2 1.2 1.2,
  607.                   0.8 0.8 0.8 ]
  608.               }
  609.               DEF TOM1-DANCER_42 PositionInterpolator {
  610.             key    [ 0, 0.1, 0.15, 0.35,
  611.                   0.4, 0.6, 0.65, 0.85,
  612.                   0.9, 1 ]
  613.             keyValue    [ 1 0.9 1,
  614.                   1 0.8 1,
  615.                   1 1 1,
  616.                   1 0.8 1,
  617.                   1 1.1 1,
  618.                   1 0.8 1,
  619.                   1 1 1,
  620.                   1 0.8 1,
  621.                   1 1.1 1,
  622.                   1 0.9 1 ]
  623.               }
  624.               Sound {
  625.             source    DEF TOM1-S0_43 AudioClip {
  626.               url    "Sounds/tribalGourd2-1.wav"
  627.               loop    TRUE
  628.               startTime    0
  629.               stopTime    0
  630.             }
  631.  
  632.             minFront    10
  633.             maxFront    50
  634.             minBack    10
  635.             maxBack    50
  636.               }
  637.               Sound {
  638.             source    DEF TOM1-S1_44 AudioClip {
  639.               url    "Sounds/newGourd2-1.wav"
  640.               loop    TRUE
  641.               startTime    0
  642.               stopTime    0
  643.             }
  644.  
  645.             minFront    10
  646.             maxFront    50
  647.             minBack    10
  648.             maxBack    50
  649.               }
  650.               Sound {
  651.             source    DEF TOM1-S2_45 AudioClip {
  652.               url    "Sounds/tomF.wav"
  653.               loop    TRUE
  654.               startTime    0
  655.               stopTime    0
  656.             }
  657.  
  658.             minFront    10
  659.             maxFront    50
  660.             minBack    10
  661.             maxBack    50
  662.               }
  663.             ]
  664.             translation    0.001 0 0
  665.           }
  666.  
  667.         }
  668.         DEF TOM1-SELECTOR-XFORM Transform {
  669.           children    [
  670.             Transform {
  671.               children    [
  672.             DEF TOM1-BUTTON0-TRIGGER_46 TouchSensor {
  673.             }
  674.             DEF TOM1-BUTTON0-SWITCHER_47 Switch {
  675.               whichChoice    1
  676.               choice    [
  677.                 DEF OFF-BUTTON_48 Shape {
  678.                   appearance    Appearance {
  679.                 material    Material {
  680.                   diffuseColor    0.2 0.2 0.2
  681.                   emissiveColor    0 0 0
  682.                 }
  683.  
  684.                   }
  685.  
  686.                   geometry    Box {
  687.                   }
  688.  
  689.                 }
  690.                 DEF ON-BUTTON_49 Shape {
  691.                   appearance    Appearance {
  692.                 material    Material {
  693.                   diffuseColor    0.2 0.2 0.2
  694.                   emissiveColor    0 1 0
  695.                 }
  696.  
  697.                   }
  698.  
  699.                   geometry    Box {
  700.                   }
  701.  
  702.                 }
  703.               ]
  704.             }
  705.               ]
  706.               translation    -3 -5 5
  707.             }
  708.             Transform {
  709.               children    [
  710.             DEF TOM1-BUTTON1-TRIGGER_50 TouchSensor {
  711.             }
  712.             DEF TOM1-BUTTON1-SWITCHER_51 Switch {
  713.               whichChoice    0
  714.               choice    [
  715.                 USE OFF-BUTTON_48
  716.                 USE ON-BUTTON_49
  717.               ]
  718.             }
  719.               ]
  720.               translation    0 -5 5
  721.             }
  722.             Transform {
  723.               children    [
  724.             DEF TOM1-BUTTON2-TRIGGER_52 TouchSensor {
  725.             }
  726.             DEF TOM1-BUTTON2-SWITCHER_53 Switch {
  727.               whichChoice    0
  728.               choice    [
  729.                 USE OFF-BUTTON_48
  730.                 USE ON-BUTTON_49
  731.               ]
  732.             }
  733.               ]
  734.               translation    3 -5 5
  735.             }
  736.             DEF TOM1-LOGIC_54 Script {
  737.               eventOut              SFTime              startTimeS0
  738.               eventOut              SFTime              startTimeS1
  739.               eventOut              SFTime              startTimeS2
  740.               eventOut              SFTime              stopTimeS0
  741.               eventOut              SFTime              stopTimeS1
  742.               eventOut              SFTime              stopTimeS2
  743.               eventOut              SFInt32              button0Switch
  744.               eventOut              SFInt32              button1Switch
  745.               eventOut              SFInt32              button2Switch
  746.               eventOut              SFTime              timerStartTime
  747.               eventOut              SFTime              timerStopTime
  748.               eventIn              SFTime              padTrigger
  749.               eventIn              SFTime              button0Trigger
  750.               eventIn              SFTime              button1Trigger
  751.               eventIn              SFTime              button2Trigger
  752.               field              SFInt32              patchState    0
  753.               field              SFBool              on    FALSE
  754.               url    "vrmlscript:
  755.                 function padTrigger(touchTime) {
  756.                     if (on == FALSE) {
  757.                         on = TRUE;
  758.                         timerStartTime = touchTime;
  759.                         if (patchState == 0) startTimeS0 = touchTime;
  760.                         else if (patchState == 1) startTimeS1 = touchTime;
  761.                             else if (patchState == 2) startTimeS2 = touchTime;
  762.                     }
  763.                     else {
  764.                         on = FALSE;
  765.                         timerStopTime = touchTime;
  766.                         stopTimeS0 = touchTime;
  767.                         stopTimeS1 = touchTime;
  768.                         stopTimeS2 = touchTime;
  769.                     }
  770.                 }
  771.  
  772.                 function button0Trigger(touchTime) {
  773.                     on = TRUE;
  774.                     timerStartTime = touchTime;
  775.                     patchState = 0;
  776.                     stopTimeS1 = touchTime;
  777.                     stopTimeS2 = touchTime;
  778.                     startTimeS0 = touchTime;
  779.                     button0Switch = 1;
  780.                     button1Switch = 0;
  781.                     button2Switch = 0;
  782.                 }
  783.  
  784.                 function button1Trigger(touchTime) {
  785.                     on = TRUE;
  786.                     timerStartTime = touchTime;
  787.                     patchState = 1;
  788.                     stopTimeS0 = touchTime;
  789.                     stopTimeS2 = touchTime;
  790.                     startTimeS1 = touchTime;
  791.                     button0Switch = 0;
  792.                     button1Switch = 1;
  793.                     button2Switch = 0;
  794.                 }
  795.  
  796.                 function button2Trigger(touchTime) {
  797.                     on = TRUE;
  798.                     timerStartTime = touchTime;
  799.                     patchState = 2;
  800.                     stopTimeS0 = touchTime;
  801.                     stopTimeS1 = touchTime;
  802.                     startTimeS2 = touchTime;
  803.                     button0Switch = 0;
  804.                     button1Switch = 0;
  805.                     button2Switch = 1;
  806.                 }
  807.             "
  808.             }
  809.           ]
  810.           translation    -3 1.1 -1.4
  811.           scale    0.1 0.1 0.1
  812.         }
  813.         DEF TOM2-ROOT Transform {
  814.           children    Transform {
  815.             children    [
  816.               DEF TOM2-STEM-XFORM_55 Transform {
  817.             children    Transform {
  818.               children    [
  819.                 DEF TOM2-TRIGGER_56 TouchSensor {
  820.                 }
  821.                 DEF TOM2-BALL-XFORM_57 Transform {
  822.                   children    Shape {
  823.                 appearance    Appearance {
  824.                   material    DEF TOM2-MAT_58 Material {
  825.                     diffuseColor    0.502714 0.295535 0.191551
  826.                     specularColor    0.265851 0.126509 0.126509
  827.                     emissiveColor    0 0 0
  828.                     shininess    0.52
  829.                   }
  830.  
  831.                 }
  832.  
  833.                 geometry    Sphere {
  834.                 }
  835.  
  836.                   }
  837.  
  838.                   translation    0.5 4.57 0
  839.                   scale    1.1 1.1 1.1
  840.                 }
  841.                 Inline {
  842.                   url    "tom2stem.wrl"
  843.                 }
  844.               ]
  845.               translation    -0.764481 -1.37421 -3.14063
  846.               rotation    0.0228506 0.999703 0.00842306  3.2472
  847.               scale    0.83723 0.837229 0.837231
  848.               scaleOrientation    -0.136312 0.39447 -0.908742  0.117027
  849.               center    -0.0359769 0.0298687 0.0144159
  850.             }
  851.  
  852.             scale    1 1 1
  853.             center    0 -1.3 0
  854.               }
  855.               DEF TOM2-TIMER_59 TimeSensor {
  856.             cycleInterval    2.14
  857.             loop    TRUE
  858.             startTime    0
  859.             stopTime    1
  860.               }
  861.               DEF TOM2-FLASHER_60 ColorInterpolator {
  862.             key    [ 0, 0.25, 0.5, 0.75,
  863.                   0.9, 1 ]
  864.             keyValue    [ 0 0 0,
  865.                   0.9 0.5 0.2,
  866.                   0 0 0,
  867.                   0.9 0.5 0.2,
  868.                   0.4 0.2 0.1,
  869.                   0 0 0 ]
  870.               }
  871.               DEF TOM2-THROBBER_61 PositionInterpolator {
  872.             key    [ 0, 0.1, 0.15, 0.35,
  873.                   0.4, 0.6, 0.65, 0.85,
  874.                   0.9, 1 ]
  875.             keyValue    [ 0.8 0.8 0.8,
  876.                   0.7 0.7 0.7,
  877.                   1 1 1,
  878.                   0.7 0.7 0.7,
  879.                   1.2 1.2 1.2,
  880.                   0.7 0.7 0.7,
  881.                   1 1 1,
  882.                   0.7 0.7 0.7,
  883.                   1.2 1.2 1.2,
  884.                   0.8 0.8 0.8 ]
  885.               }
  886.               DEF TOM2-DANCER_62 PositionInterpolator {
  887.             key    [ 0, 0.1, 0.15, 0.35,
  888.                   0.4, 0.6, 0.65, 0.85,
  889.                   0.9, 1 ]
  890.             keyValue    [ 1 0.9 1,
  891.                   1 0.8 1,
  892.                   1 1 1,
  893.                   1 0.8 1,
  894.                   1 1.1 1,
  895.                   1 0.8 1,
  896.                   1 1 1,
  897.                   1 0.8 1,
  898.                   1 1.1 1,
  899.                   1 0.9 1 ]
  900.               }
  901.               Sound {
  902.             source    DEF TOM2-S0_63 AudioClip {
  903.               url    "Sounds/tribalGourd3-1.wav"
  904.               loop    TRUE
  905.               startTime    0
  906.               stopTime    0
  907.             }
  908.  
  909.             minFront    10
  910.             maxFront    50
  911.             minBack    10
  912.             maxBack    50
  913.               }
  914.               Sound {
  915.             source    DEF TOM2-S1_64 AudioClip {
  916.               url    "Sounds/newGourd3-1.wav"
  917.               loop    TRUE
  918.               startTime    0
  919.               stopTime    0
  920.             }
  921.  
  922.             minFront    10
  923.             maxFront    50
  924.             minBack    10
  925.             maxBack    50
  926.               }
  927.               Sound {
  928.             source    DEF TOM2-S2_65 AudioClip {
  929.               url    "Sounds/tomF.wav"
  930.               loop    TRUE
  931.               startTime    0
  932.               stopTime    0
  933.             }
  934.  
  935.             minFront    10
  936.             maxFront    50
  937.             minBack    10
  938.             maxBack    50
  939.               }
  940.             ]
  941.             translation    0.001 0 0
  942.           }
  943.  
  944.         }
  945.         DEF TOM2-SELECTOR-XFORM Transform {
  946.           children    [
  947.             Transform {
  948.               children    [
  949.             DEF TOM2-BUTTON0-TRIGGER_66 TouchSensor {
  950.             }
  951.             DEF TOM2-BUTTON0-SWITCHER_67 Switch {
  952.               whichChoice    1
  953.               choice    [
  954.                 DEF OFF-BUTTON_68 Shape {
  955.                   appearance    Appearance {
  956.                 material    Material {
  957.                   diffuseColor    0.2 0.2 0.2
  958.                   emissiveColor    0 0 0
  959.                 }
  960.  
  961.                   }
  962.  
  963.                   geometry    Box {
  964.                   }
  965.  
  966.                 }
  967.                 DEF ON-BUTTON_69 Shape {
  968.                   appearance    Appearance {
  969.                 material    Material {
  970.                   diffuseColor    0.2 0.2 0.2
  971.                   emissiveColor    0 1 0
  972.                 }
  973.  
  974.                   }
  975.  
  976.                   geometry    Box {
  977.                   }
  978.  
  979.                 }
  980.               ]
  981.             }
  982.               ]
  983.               translation    -3 -5 5
  984.             }
  985.             Transform {
  986.               children    [
  987.             DEF TOM2-BUTTON1-TRIGGER_70 TouchSensor {
  988.             }
  989.             DEF TOM2-BUTTON1-SWITCHER_71 Switch {
  990.               whichChoice    0
  991.               choice    [
  992.                 USE OFF-BUTTON_68
  993.                 USE ON-BUTTON_69
  994.               ]
  995.             }
  996.               ]
  997.               translation    0 -5 5
  998.             }
  999.             Transform {
  1000.               children    [
  1001.             DEF TOM2-BUTTON2-TRIGGER_72 TouchSensor {
  1002.             }
  1003.             DEF TOM2-BUTTON2-SWITCHER_73 Switch {
  1004.               whichChoice    0
  1005.               choice    [
  1006.                 USE OFF-BUTTON_68
  1007.                 USE ON-BUTTON_69
  1008.               ]
  1009.             }
  1010.               ]
  1011.               translation    3 -5 5
  1012.             }
  1013.             DEF TOM2-LOGIC_74 Script {
  1014.               eventOut              SFTime              startTimeS0
  1015.               eventOut              SFTime              startTimeS1
  1016.               eventOut              SFTime              startTimeS2
  1017.               eventOut              SFTime              stopTimeS0
  1018.               eventOut              SFTime              stopTimeS1
  1019.               eventOut              SFTime              stopTimeS2
  1020.               eventOut              SFInt32              button0Switch
  1021.               eventOut              SFInt32              button1Switch
  1022.               eventOut              SFInt32              button2Switch
  1023.               eventOut              SFTime              timerStartTime
  1024.               eventOut              SFTime              timerStopTime
  1025.               eventIn              SFTime              padTrigger
  1026.               eventIn              SFTime              button0Trigger
  1027.               eventIn              SFTime              button1Trigger
  1028.               eventIn              SFTime              button2Trigger
  1029.               field              SFInt32              patchState    0
  1030.               field              SFBool              on    FALSE
  1031.               url    "vrmlscript:
  1032.                 function padTrigger(touchTime) {
  1033.                     if (on == FALSE) {
  1034.                         on = TRUE;
  1035.                         timerStartTime = touchTime;
  1036.                         if (patchState == 0) startTimeS0 = touchTime;
  1037.                         else if (patchState == 1) startTimeS1 = touchTime;
  1038.                             else if (patchState == 2) startTimeS2 = touchTime;
  1039.                     }
  1040.                     else {
  1041.                         on = FALSE;
  1042.                         timerStopTime = touchTime;
  1043.                         stopTimeS0 = touchTime;
  1044.                         stopTimeS1 = touchTime;
  1045.                         stopTimeS2 = touchTime;
  1046.                     }
  1047.                 }
  1048.  
  1049.                 function button0Trigger(touchTime) {
  1050.                     on = TRUE;
  1051.                     timerStartTime = touchTime;
  1052.                     patchState = 0;
  1053.                     stopTimeS1 = touchTime;
  1054.                     stopTimeS2 = touchTime;
  1055.                     startTimeS0 = touchTime;
  1056.                     button0Switch = 1;
  1057.                     button1Switch = 0;
  1058.                     button2Switch = 0;
  1059.                 }
  1060.  
  1061.                 function button1Trigger(touchTime) {
  1062.                     on = TRUE;
  1063.                     timerStartTime = touchTime;
  1064.                     patchState = 1;
  1065.                     stopTimeS0 = touchTime;
  1066.                     stopTimeS2 = touchTime;
  1067.                     startTimeS1 = touchTime;
  1068.                     button0Switch = 0;
  1069.                     button1Switch = 1;
  1070.                     button2Switch = 0;
  1071.                 }
  1072.  
  1073.                 function button2Trigger(touchTime) {
  1074.                     on = TRUE;
  1075.                     timerStartTime = touchTime;
  1076.                     patchState = 2;
  1077.                     stopTimeS0 = touchTime;
  1078.                     stopTimeS1 = touchTime;
  1079.                     startTimeS2 = touchTime;
  1080.                     button0Switch = 0;
  1081.                     button1Switch = 0;
  1082.                     button2Switch = 1;
  1083.                 }
  1084.             "
  1085.             }
  1086.           ]
  1087.           translation    -0.9 1.5 -2.5
  1088.           scale    0.1 0.1 0.1
  1089.         }
  1090.         DEF TOM3-ROOT Transform {
  1091.           children    Transform {
  1092.             children    [
  1093.               DEF TOM3-STEM-XFORM_75 Transform {
  1094.             children    Transform {
  1095.               children    [
  1096.                 DEF TOM3-TRIGGER_76 TouchSensor {
  1097.                 }
  1098.                 DEF TOM3-BALL-XFORM_77 Transform {
  1099.                   children    Shape {
  1100.                 appearance    Appearance {
  1101.                   material    DEF TOM3-MAT_78 Material {
  1102.                     diffuseColor    0.795918 0.505869 0.0933146
  1103.                     specularColor    0.923469 0.428866 0.00636875
  1104.                     emissiveColor    0 0 0
  1105.                     shininess    0.53
  1106.                   }
  1107.  
  1108.                 }
  1109.  
  1110.                 geometry    Sphere {
  1111.                 }
  1112.  
  1113.                   }
  1114.  
  1115.                   translation    0.5 4.4 0
  1116.                   scale    1.5 1.5 1.5
  1117.                 }
  1118.                 Inline {
  1119.                   url    "tom3stem.wrl"
  1120.                 }
  1121.               ]
  1122.               translation    1.85739 -1.34887 -2.73496
  1123.               rotation    0.0269609 0.910559 0.412499  0.143316
  1124.               scale    0.786645 0.786644 0.786645
  1125.               scaleOrientation    -0.42759 -0.119485 0.896042  0.0396327
  1126.               center    -0.0146837 0.0175908 0.0144148
  1127.             }
  1128.  
  1129.             scale    1 1 1
  1130.             center    0 -1.3 0
  1131.               }
  1132.               DEF TOM3-TIMER_79 TimeSensor {
  1133.             cycleInterval    2.14
  1134.             loop    TRUE
  1135.             startTime    0
  1136.             stopTime    1
  1137.               }
  1138.               DEF TOM3-FLASHER_80 ColorInterpolator {
  1139.             key    [ 0, 0.25, 0.5, 0.75,
  1140.                   0.9, 1 ]
  1141.             keyValue    [ 0 0 0,
  1142.                   0.8 0.5 0.1,
  1143.                   0 0 0,
  1144.                   0.8 0.5 0.1,
  1145.                   0.4 0.2 0.1,
  1146.                   0 0 0 ]
  1147.               }
  1148.               DEF TOM3-THROBBER_81 PositionInterpolator {
  1149.             key    [ 0, 0.1, 0.15, 0.35,
  1150.                   0.4, 0.6, 0.65, 0.85,
  1151.                   0.9, 1 ]
  1152.             keyValue    [ 1 1 1,
  1153.                   0.9 0.9 0.9,
  1154.                   1 1 1,
  1155.                   0.9 0.9 0.9,
  1156.                   1.5 1.5 1.5,
  1157.                   0.9 0.9 0.9,
  1158.                   1 1 1,
  1159.                   0.9 0.9 0.9,
  1160.                   1.5 1.5 1.5,
  1161.                   1 1 1 ]
  1162.               }
  1163.               DEF TOM3-DANCER_82 PositionInterpolator {
  1164.             key    [ 0, 0.1, 0.15, 0.35,
  1165.                   0.4, 0.6, 0.65, 0.85,
  1166.                   0.9, 1 ]
  1167.             keyValue    [ 1 0.9 1,
  1168.                   1 0.8 1,
  1169.                   1 1 1,
  1170.                   1 0.8 1,
  1171.                   1 1.1 1,
  1172.                   1 0.8 1,
  1173.                   1 1 1,
  1174.                   1 0.8 1,
  1175.                   1 1.1 1,
  1176.                   1 0.9 1 ]
  1177.               }
  1178.               Sound {
  1179.             source    DEF TOM3-S0_83 AudioClip {
  1180.               url    "Sounds/tribalGourd4-1.wav"
  1181.               loop    TRUE
  1182.               startTime    0
  1183.               stopTime    0
  1184.             }
  1185.  
  1186.             minFront    10
  1187.             maxFront    50
  1188.             minBack    10
  1189.             maxBack    50
  1190.               }
  1191.               Sound {
  1192.             source    DEF TOM3-S1_84 AudioClip {
  1193.               url    "Sounds/newGourd4-1.wav"
  1194.               loop    TRUE
  1195.               startTime    0
  1196.               stopTime    0
  1197.             }
  1198.  
  1199.             minFront    10
  1200.             maxFront    50
  1201.             minBack    10
  1202.             maxBack    50
  1203.               }
  1204.               Sound {
  1205.             source    DEF TOM3-S2_85 AudioClip {
  1206.               url    "Sounds/tom4.wav"
  1207.               loop    TRUE
  1208.               startTime    0
  1209.               stopTime    0
  1210.             }
  1211.  
  1212.             minFront    10
  1213.             maxFront    50
  1214.             minBack    10
  1215.             maxBack    50
  1216.               }
  1217.             ]
  1218.             translation    0.001 0 0
  1219.           }
  1220.  
  1221.         }
  1222.         DEF TOM3-SELECTOR-XFORM Transform {
  1223.           children    [
  1224.             Transform {
  1225.               children    [
  1226.             DEF TOM3-BUTTON0-TRIGGER_86 TouchSensor {
  1227.             }
  1228.             DEF TOM3-BUTTON0-SWITCHER_87 Switch {
  1229.               whichChoice    1
  1230.               choice    [
  1231.                 DEF OFF-BUTTON_88 Shape {
  1232.                   appearance    Appearance {
  1233.                 material    Material {
  1234.                   diffuseColor    0.2 0.2 0.2
  1235.                   emissiveColor    0 0 0
  1236.                 }
  1237.  
  1238.                   }
  1239.  
  1240.                   geometry    Box {
  1241.                   }
  1242.  
  1243.                 }
  1244.                 DEF ON-BUTTON_89 Shape {
  1245.                   appearance    Appearance {
  1246.                 material    Material {
  1247.                   diffuseColor    0.2 0.2 0.2
  1248.                   emissiveColor    0 1 0
  1249.                 }
  1250.  
  1251.                   }
  1252.  
  1253.                   geometry    Box {
  1254.                   }
  1255.  
  1256.                 }
  1257.               ]
  1258.             }
  1259.               ]
  1260.               translation    -3 -5 5
  1261.             }
  1262.             Transform {
  1263.               children    [
  1264.             DEF TOM3-BUTTON1-TRIGGER_90 TouchSensor {
  1265.             }
  1266.             DEF TOM3-BUTTON1-SWITCHER_91 Switch {
  1267.               whichChoice    0
  1268.               choice    [
  1269.                 USE OFF-BUTTON_88
  1270.                 USE ON-BUTTON_89
  1271.               ]
  1272.             }
  1273.               ]
  1274.               translation    0 -5 5
  1275.             }
  1276.             Transform {
  1277.               children    [
  1278.             DEF TOM3-BUTTON2-TRIGGER_92 TouchSensor {
  1279.             }
  1280.             DEF TOM3-BUTTON2-SWITCHER_93 Switch {
  1281.               whichChoice    0
  1282.               choice    [
  1283.                 USE OFF-BUTTON_88
  1284.                 USE ON-BUTTON_89
  1285.               ]
  1286.             }
  1287.               ]
  1288.               translation    3 -5 5
  1289.             }
  1290.             DEF TOM3-LOGIC_94 Script {
  1291.               eventOut              SFTime              startTimeS0
  1292.               eventOut              SFTime              startTimeS1
  1293.               eventOut              SFTime              startTimeS2
  1294.               eventOut              SFTime              stopTimeS0
  1295.               eventOut              SFTime              stopTimeS1
  1296.               eventOut              SFTime              stopTimeS2
  1297.               eventOut              SFInt32              button0Switch
  1298.               eventOut              SFInt32              button1Switch
  1299.               eventOut              SFInt32              button2Switch
  1300.               eventOut              SFTime              timerStartTime
  1301.               eventOut              SFTime              timerStopTime
  1302.               eventIn              SFTime              padTrigger
  1303.               eventIn              SFTime              button0Trigger
  1304.               eventIn              SFTime              button1Trigger
  1305.               eventIn              SFTime              button2Trigger
  1306.               field              SFInt32              patchState    0
  1307.               field              SFBool              on    FALSE
  1308.               url    "vrmlscript:
  1309.         function padTrigger(touchTime) {
  1310.                     if (on == FALSE) {
  1311.                         on = TRUE;
  1312.             timerStartTime = touchTime;
  1313.             if (patchState == 0) startTimeS0 = touchTime;
  1314.             else if (patchState == 1) startTimeS1 = touchTime;
  1315.                 else if (patchState == 2) startTimeS2 = touchTime;
  1316.                     }
  1317.                     else {
  1318.                         on = FALSE;
  1319.             timerStopTime = touchTime;
  1320.                         stopTimeS0 = touchTime;
  1321.                         stopTimeS1 = touchTime;
  1322.                         stopTimeS2 = touchTime;
  1323.                     }
  1324.          }
  1325.  
  1326.         function button0Trigger(touchTime) {
  1327.             on = TRUE;
  1328.             timerStartTime = touchTime;
  1329.             patchState = 0;
  1330.             stopTimeS1 = touchTime;
  1331.             stopTimeS2 = touchTime;
  1332.             startTimeS0 = touchTime;
  1333.             button0Switch = 1;
  1334.             button1Switch = 0;
  1335.             button2Switch = 0;
  1336.         }
  1337.  
  1338.                 function button1Trigger(touchTime) {
  1339.                     on = TRUE;
  1340.             timerStartTime = touchTime;
  1341.                     patchState = 1;
  1342.                     stopTimeS0 = touchTime;
  1343.                     stopTimeS2 = touchTime;
  1344.                     startTimeS1 = touchTime;
  1345.                     button0Switch = 0;
  1346.                     button1Switch = 1;
  1347.                     button2Switch = 0;
  1348.                 }
  1349.  
  1350.                 function button2Trigger(touchTime) {
  1351.                     on = TRUE;
  1352.             timerStartTime = touchTime;
  1353.                     patchState = 2;
  1354.                     stopTimeS0 = touchTime;
  1355.                     stopTimeS1 = touchTime;
  1356.                     startTimeS2 = touchTime;
  1357.                     button0Switch = 0;
  1358.                     button1Switch = 0;
  1359.                     button2Switch = 1;
  1360.                 }
  1361.         "
  1362.             }
  1363.           ]
  1364.           translation    1.7 1.2 -2
  1365.           scale    0.1 0.1 0.1
  1366.         }
  1367.         DEF TOM4-ROOT Transform {
  1368.           children    Transform {
  1369.             children    [
  1370.               DEF TOM4-STEM-XFORM_95 Transform {
  1371.             children    Transform {
  1372.               children    [
  1373.                 DEF TOM4-TRIGGER_96 TouchSensor {
  1374.                 }
  1375.                 DEF TOM4-BALL-XFORM_97 Transform {
  1376.                   children    Shape {
  1377.                 appearance    Appearance {
  1378.                   material    DEF TOM4-MAT_98 Material {
  1379.                     diffuseColor    0.322063 0.156723 0.0820722
  1380.                     specularColor    0.296891 0.0591278 0.016358
  1381.                     emissiveColor    0 0 0
  1382.                     shininess    0.54
  1383.                   }
  1384.  
  1385.                 }
  1386.  
  1387.                 geometry    Sphere {
  1388.                 }
  1389.  
  1390.                   }
  1391.  
  1392.                   translation    0.4 3.5 0
  1393.                   scale    1.27378 1.27378 1.27378
  1394.                 }
  1395.                 Inline {
  1396.                   url    "tom4stem.wrl"
  1397.                 }
  1398.               ]
  1399.               translation    3.61378 -1.30616 -0.188763
  1400.               rotation    0.0269608 0.910559 0.412499  0.143316
  1401.               scale    0.8 0.8 0.8
  1402.               scaleOrientation    -1.78912e-07 -1 8.03131e-07  0.098696
  1403.               center    -0.0146871 -0.0603595 0.0144149
  1404.             }
  1405.  
  1406.             scale    1 1 1
  1407.             center    0 -1.3 0
  1408.               }
  1409.               DEF TOM4-TIMER_99 TimeSensor {
  1410.             cycleInterval    2.14
  1411.             loop    TRUE
  1412.             startTime    0
  1413.             stopTime    1
  1414.               }
  1415.               DEF TOM4-FLASHER_100 ColorInterpolator {
  1416.             key    [ 0, 0.25, 0.5, 0.75,
  1417.                   0.9, 1 ]
  1418.             keyValue    [ 0 0 0,
  1419.                   0.3 0.15 0.1,
  1420.                   0 0 0,
  1421.                   0.3 0.15 0.1,
  1422.                   0.2 0.1 0.1,
  1423.                   0 0 0 ]
  1424.               }
  1425.               DEF TOM4-THROBBER_101 PositionInterpolator {
  1426.             key    [ 0, 0.1, 0.15, 0.35,
  1427.                   0.4, 0.6, 0.65, 0.85,
  1428.                   0.9, 1 ]
  1429.             keyValue    [ 1 1 1,
  1430.                   0.9 0.9 0.9,
  1431.                   1 1 1,
  1432.                   0.9 0.9 0.9,
  1433.                   1.5 1.5 1.5,
  1434.                   0.9 0.9 0.9,
  1435.                   1 1 1,
  1436.                   0.9 0.9 0.9,
  1437.                   1.5 1.5 1.5,
  1438.                   1 1 1 ]
  1439.               }
  1440.               DEF TOM4-DANCER_102 PositionInterpolator {
  1441.             key    [ 0, 0.1, 0.15, 0.35,
  1442.                   0.4, 0.6, 0.65, 0.85,
  1443.                   0.9, 1 ]
  1444.             keyValue    [ 1 0.9 1,
  1445.                   1 0.8 1,
  1446.                   1 1 1,
  1447.                   1 0.8 1,
  1448.                   1 1.1 1,
  1449.                   1 0.8 1,
  1450.                   1 1 1,
  1451.                   1 0.8 1,
  1452.                   1 1.1 1,
  1453.                   1 0.9 1 ]
  1454.               }
  1455.               Sound {
  1456.             source    DEF TOM4-S0_103 AudioClip {
  1457.               url    "Sounds/tribalGourd5-1.wav"
  1458.               loop    TRUE
  1459.               startTime    0
  1460.               stopTime    0
  1461.             }
  1462.  
  1463.             minFront    10
  1464.             maxFront    50
  1465.             minBack    10
  1466.             maxBack    50
  1467.               }
  1468.               Sound {
  1469.             source    DEF TOM4-S1_104 AudioClip {
  1470.               url    "Sounds/tribalGourd5-2.wav"
  1471.               loop    TRUE
  1472.               startTime    0
  1473.               stopTime    0
  1474.             }
  1475.  
  1476.             minFront    10
  1477.             maxFront    50
  1478.             minBack    10
  1479.             maxBack    50
  1480.               }
  1481.               Sound {
  1482.             source    DEF TOM4-S2_105 AudioClip {
  1483.               url    "Sounds/newGourd5-1.wav"
  1484.               loop    TRUE
  1485.               startTime    0
  1486.               stopTime    0
  1487.             }
  1488.  
  1489.             minFront    10
  1490.             maxFront    50
  1491.             minBack    10
  1492.             maxBack    50
  1493.               }
  1494.             ]
  1495.             translation    0.001 0 0
  1496.           }
  1497.  
  1498.         }
  1499.         DEF TOM4-SELECTOR-XFORM Transform {
  1500.           children    [
  1501.             Transform {
  1502.               children    [
  1503.             DEF TOM4-BUTTON0-TRIGGER_106 TouchSensor {
  1504.             }
  1505.             DEF TOM4-BUTTON0-SWITCHER_107 Switch {
  1506.               whichChoice    1
  1507.               choice    [
  1508.                 DEF OFF-BUTTON_108 Shape {
  1509.                   appearance    Appearance {
  1510.                 material    Material {
  1511.                   diffuseColor    0.2 0.2 0.2
  1512.                   emissiveColor    0 0 0
  1513.                 }
  1514.  
  1515.                   }
  1516.  
  1517.                   geometry    Box {
  1518.                   }
  1519.  
  1520.                 }
  1521.                 DEF ON-BUTTON_109 Shape {
  1522.                   appearance    Appearance {
  1523.                 material    Material {
  1524.                   diffuseColor    0.2 0.2 0.2
  1525.                   emissiveColor    0 1 0
  1526.                 }
  1527.  
  1528.                   }
  1529.  
  1530.                   geometry    Box {
  1531.                   }
  1532.  
  1533.                 }
  1534.               ]
  1535.             }
  1536.               ]
  1537.               translation    -3 -5 5
  1538.             }
  1539.             Transform {
  1540.               children    [
  1541.             DEF TOM4-BUTTON1-TRIGGER_110 TouchSensor {
  1542.             }
  1543.             DEF TOM4-BUTTON1-SWITCHER_111 Switch {
  1544.               whichChoice    0
  1545.               choice    [
  1546.                 USE OFF-BUTTON_108
  1547.                 USE ON-BUTTON_109
  1548.               ]
  1549.             }
  1550.               ]
  1551.               translation    0 -5 5
  1552.             }
  1553.             Transform {
  1554.               children    [
  1555.             DEF TOM4-BUTTON2-TRIGGER_112 TouchSensor {
  1556.             }
  1557.             DEF TOM4-BUTTON2-SWITCHER_113 Switch {
  1558.               whichChoice    0
  1559.               choice    [
  1560.                 USE OFF-BUTTON_108
  1561.                 USE ON-BUTTON_109
  1562.               ]
  1563.             }
  1564.               ]
  1565.               translation    3 -5 5
  1566.             }
  1567.             DEF TOM4-LOGIC_114 Script {
  1568.               eventOut              SFTime              startTimeS0
  1569.               eventOut              SFTime              startTimeS1
  1570.               eventOut              SFTime              startTimeS2
  1571.               eventOut              SFTime              stopTimeS0
  1572.               eventOut              SFTime              stopTimeS1
  1573.               eventOut              SFTime              stopTimeS2
  1574.               eventOut              SFInt32              button0Switch
  1575.               eventOut              SFInt32              button1Switch
  1576.               eventOut              SFInt32              button2Switch
  1577.               eventOut              SFTime              timerStartTime
  1578.               eventOut              SFTime              timerStopTime
  1579.               eventIn              SFTime              padTrigger
  1580.               eventIn              SFTime              button0Trigger
  1581.               eventIn              SFTime              button1Trigger
  1582.               eventIn              SFTime              button2Trigger
  1583.               field              SFInt32              patchState    0
  1584.               field              SFBool              on    FALSE
  1585.               url    "vrmlscript:
  1586.                 function padTrigger(touchTime) {
  1587.                     if (on == FALSE) {
  1588.                         on = TRUE;
  1589.                         timerStartTime = touchTime;
  1590.                         if (patchState == 0) startTimeS0 = touchTime;
  1591.                         else if (patchState == 1) startTimeS1 = touchTime;
  1592.                             else if (patchState == 2) startTimeS2 = touchTime;
  1593.                     }
  1594.                     else {
  1595.                         on = FALSE;
  1596.                         timerStopTime = touchTime;
  1597.                         stopTimeS0 = touchTime;
  1598.                         stopTimeS1 = touchTime;
  1599.                         stopTimeS2 = touchTime;
  1600.                     }
  1601.                 }
  1602.  
  1603.                 function button0Trigger(touchTime) {
  1604.                     on = TRUE;
  1605.                     timerStartTime = touchTime;
  1606.                     patchState = 0;
  1607.                     stopTimeS1 = touchTime;
  1608.                     stopTimeS2 = touchTime;
  1609.                     startTimeS0 = touchTime;
  1610.                     button0Switch = 1;
  1611.                     button1Switch = 0;
  1612.                     button2Switch = 0;
  1613.                 }
  1614.  
  1615.                 function button1Trigger(touchTime) {
  1616.                     on = TRUE;
  1617.                     timerStartTime = touchTime;
  1618.                     patchState = 1;
  1619.                     stopTimeS0 = touchTime;
  1620.                     stopTimeS2 = touchTime;
  1621.                     startTimeS1 = touchTime;
  1622.                     button0Switch = 0;
  1623.                     button1Switch = 1;
  1624.                     button2Switch = 0;
  1625.                 }
  1626.  
  1627.                 function button2Trigger(touchTime) {
  1628.                     on = TRUE;
  1629.                     timerStartTime = touchTime;
  1630.                     patchState = 2;
  1631.                     stopTimeS0 = touchTime;
  1632.                     stopTimeS1 = touchTime;
  1633.                     startTimeS2 = touchTime;
  1634.                     button0Switch = 0;
  1635.                     button1Switch = 0;
  1636.                     button2Switch = 1;
  1637.                 }
  1638.             "
  1639.             }
  1640.           ]
  1641.           translation    3.2 0.8 0.5
  1642.           scale    0.1 0.1 0.1
  1643.         }
  1644.           ]
  1645.         }
  1646.       ]
  1647.     }
  1648.       ]
  1649.     }
  1650.     Inline {
  1651.       url    "file:/usr/people/sambo/CyberGourds/Junk/terrain.wrl"
  1652.       bboxCenter    0.370745 1.02234 -1.17768
  1653.       bboxSize    44.7762 4.75784 34.9827
  1654.     }
  1655.   ]
  1656. }
  1657. ROUTE PAD-FLASHER_4.value_changed TO PAD-MAT_1.set_emissiveColor
  1658. ROUTE PAD-LOGIC_16.timerStartTime TO PAD-TIMER_3.set_startTime
  1659. ROUTE PAD-LOGIC_16.timerStopTime TO PAD-TIMER_3.set_stopTime
  1660. ROUTE PAD-TIMER_3.fraction_changed TO PAD-FLASHER_4.set_fraction
  1661. ROUTE PAD-LOGIC_16.startTimeS0 TO PAD-S0_5.set_startTime
  1662. ROUTE PAD-LOGIC_16.stopTimeS0 TO PAD-S0_5.set_stopTime
  1663. ROUTE PAD-LOGIC_16.startTimeS1 TO PAD-S1_6.set_startTime
  1664. ROUTE PAD-LOGIC_16.stopTimeS1 TO PAD-S1_6.set_stopTime
  1665. ROUTE PAD-LOGIC_16.startTimeS2 TO PAD-S2_7.set_startTime
  1666. ROUTE PAD-LOGIC_16.stopTimeS2 TO PAD-S2_7.set_stopTime
  1667. ROUTE PAD-LOGIC_16.button0Switch TO PAD-BUTTON0-SWITCHER_9.set_whichChoice
  1668. ROUTE PAD-LOGIC_16.button1Switch TO PAD-BUTTON1-SWITCHER_13.set_whichChoice
  1669. ROUTE PAD-LOGIC_16.button2Switch TO PAD-BUTTON2-SWITCHER_15.set_whichChoice
  1670. ROUTE PAD-TRIGGER_2.touchTime TO PAD-LOGIC_16.padTrigger
  1671. ROUTE PAD-BUTTON0-TRIGGER_8.touchTime TO PAD-LOGIC_16.button0Trigger
  1672. ROUTE PAD-BUTTON1-TRIGGER_12.touchTime TO PAD-LOGIC_16.button1Trigger
  1673. ROUTE PAD-BUTTON2-TRIGGER_14.touchTime TO PAD-LOGIC_16.button2Trigger
  1674. ROUTE TOM0-FLASHER_22.value_changed TO TOM0-MAT_20.set_emissiveColor
  1675. ROUTE TOM0-THROBBER_23.value_changed TO TOM0-BALL-XFORM_19.set_scale
  1676. ROUTE TOM0-DANCER_24.value_changed TO TOM0-STEM-XFORM_17.set_scale
  1677. ROUTE TOM0-LOGIC_34.timerStartTime TO TOM0-TIMER_21.set_startTime
  1678. ROUTE TOM0-LOGIC_34.timerStopTime TO TOM0-TIMER_21.set_stopTime
  1679. ROUTE TOM0-TIMER_21.fraction_changed TO TOM0-FLASHER_22.set_fraction
  1680. ROUTE TOM0-TIMER_21.fraction_changed TO TOM0-THROBBER_23.set_fraction
  1681. ROUTE TOM0-TIMER_21.fraction_changed TO TOM0-DANCER_24.set_fraction
  1682. ROUTE TOM0-LOGIC_34.startTimeS0 TO TOM0-S0_25.set_startTime
  1683. ROUTE TOM0-LOGIC_34.stopTimeS0 TO TOM0-S0_25.set_stopTime
  1684. ROUTE TOM0-LOGIC_34.startTimeS1 TO TOM0-S1_26.set_startTime
  1685. ROUTE TOM0-LOGIC_34.stopTimeS1 TO TOM0-S1_26.set_stopTime
  1686. ROUTE TOM0-LOGIC_34.startTimeS2 TO TOM0-S2_27.set_startTime
  1687. ROUTE TOM0-LOGIC_34.stopTimeS2 TO TOM0-S2_27.set_stopTime
  1688. ROUTE TOM0-LOGIC_34.button0Switch TO TOM0-BUTTON0-SWITCHER_29.set_whichChoice
  1689. ROUTE TOM0-LOGIC_34.button1Switch TO TOM0-BUTTON1-SWITCHER_31.set_whichChoice
  1690. ROUTE TOM0-LOGIC_34.button2Switch TO TOM0-BUTTON2-SWITCHER_33.set_whichChoice
  1691. ROUTE TOM0-TRIGGER_18.touchTime TO TOM0-LOGIC_34.padTrigger
  1692. ROUTE TOM0-BUTTON0-TRIGGER_28.touchTime TO TOM0-LOGIC_34.button0Trigger
  1693. ROUTE TOM0-BUTTON1-TRIGGER_30.touchTime TO TOM0-LOGIC_34.button1Trigger
  1694. ROUTE TOM0-BUTTON2-TRIGGER_32.touchTime TO TOM0-LOGIC_34.button2Trigger
  1695. ROUTE TOM1-FLASHER_40.value_changed TO TOM1-MAT_38.set_emissiveColor
  1696. ROUTE TOM1-THROBBER_41.value_changed TO TOM1-BALL-XFORM_37.set_scale
  1697. ROUTE TOM1-DANCER_42.value_changed TO TOM1-STEM-XFORM_35.set_scale
  1698. ROUTE TOM1-LOGIC_54.timerStartTime TO TOM1-TIMER_39.set_startTime
  1699. ROUTE TOM1-LOGIC_54.timerStopTime TO TOM1-TIMER_39.set_stopTime
  1700. ROUTE TOM1-TIMER_39.fraction_changed TO TOM1-FLASHER_40.set_fraction
  1701. ROUTE TOM1-TIMER_39.fraction_changed TO TOM1-THROBBER_41.set_fraction
  1702. ROUTE TOM1-TIMER_39.fraction_changed TO TOM1-DANCER_42.set_fraction
  1703. ROUTE TOM1-LOGIC_54.startTimeS0 TO TOM1-S0_43.set_startTime
  1704. ROUTE TOM1-LOGIC_54.stopTimeS0 TO TOM1-S0_43.set_stopTime
  1705. ROUTE TOM1-LOGIC_54.startTimeS1 TO TOM1-S1_44.set_startTime
  1706. ROUTE TOM1-LOGIC_54.stopTimeS1 TO TOM1-S1_44.set_stopTime
  1707. ROUTE TOM1-LOGIC_54.startTimeS2 TO TOM1-S2_45.set_startTime
  1708. ROUTE TOM1-LOGIC_54.stopTimeS2 TO TOM1-S2_45.set_stopTime
  1709. ROUTE TOM1-LOGIC_54.button0Switch TO TOM1-BUTTON0-SWITCHER_47.set_whichChoice
  1710. ROUTE TOM1-LOGIC_54.button1Switch TO TOM1-BUTTON1-SWITCHER_51.set_whichChoice
  1711. ROUTE TOM1-LOGIC_54.button2Switch TO TOM1-BUTTON2-SWITCHER_53.set_whichChoice
  1712. ROUTE TOM1-TRIGGER_36.touchTime TO TOM1-LOGIC_54.padTrigger
  1713. ROUTE TOM1-BUTTON0-TRIGGER_46.touchTime TO TOM1-LOGIC_54.button0Trigger
  1714. ROUTE TOM1-BUTTON1-TRIGGER_50.touchTime TO TOM1-LOGIC_54.button1Trigger
  1715. ROUTE TOM1-BUTTON2-TRIGGER_52.touchTime TO TOM1-LOGIC_54.button2Trigger
  1716. ROUTE TOM2-FLASHER_60.value_changed TO TOM2-MAT_58.set_emissiveColor
  1717. ROUTE TOM2-THROBBER_61.value_changed TO TOM2-BALL-XFORM_57.set_scale
  1718. ROUTE TOM2-DANCER_62.value_changed TO TOM2-STEM-XFORM_55.set_scale
  1719. ROUTE TOM2-LOGIC_74.timerStartTime TO TOM2-TIMER_59.set_startTime
  1720. ROUTE TOM2-LOGIC_74.timerStopTime TO TOM2-TIMER_59.set_stopTime
  1721. ROUTE TOM2-TIMER_59.fraction_changed TO TOM2-FLASHER_60.set_fraction
  1722. ROUTE TOM2-TIMER_59.fraction_changed TO TOM2-THROBBER_61.set_fraction
  1723. ROUTE TOM2-TIMER_59.fraction_changed TO TOM2-DANCER_62.set_fraction
  1724. ROUTE TOM2-LOGIC_74.startTimeS0 TO TOM2-S0_63.set_startTime
  1725. ROUTE TOM2-LOGIC_74.stopTimeS0 TO TOM2-S0_63.set_stopTime
  1726. ROUTE TOM2-LOGIC_74.startTimeS1 TO TOM2-S1_64.set_startTime
  1727. ROUTE TOM2-LOGIC_74.stopTimeS1 TO TOM2-S1_64.set_stopTime
  1728. ROUTE TOM2-LOGIC_74.startTimeS2 TO TOM2-S2_65.set_startTime
  1729. ROUTE TOM2-LOGIC_74.stopTimeS2 TO TOM2-S2_65.set_stopTime
  1730. ROUTE TOM2-LOGIC_74.button0Switch TO TOM2-BUTTON0-SWITCHER_67.set_whichChoice
  1731. ROUTE TOM2-LOGIC_74.button1Switch TO TOM2-BUTTON1-SWITCHER_71.set_whichChoice
  1732. ROUTE TOM2-LOGIC_74.button2Switch TO TOM2-BUTTON2-SWITCHER_73.set_whichChoice
  1733. ROUTE TOM2-TRIGGER_56.touchTime TO TOM2-LOGIC_74.padTrigger
  1734. ROUTE TOM2-BUTTON0-TRIGGER_66.touchTime TO TOM2-LOGIC_74.button0Trigger
  1735. ROUTE TOM2-BUTTON1-TRIGGER_70.touchTime TO TOM2-LOGIC_74.button1Trigger
  1736. ROUTE TOM2-BUTTON2-TRIGGER_72.touchTime TO TOM2-LOGIC_74.button2Trigger
  1737. ROUTE TOM3-FLASHER_80.value_changed TO TOM3-MAT_78.set_emissiveColor
  1738. ROUTE TOM3-THROBBER_81.value_changed TO TOM3-BALL-XFORM_77.set_scale
  1739. ROUTE TOM3-DANCER_82.value_changed TO TOM3-STEM-XFORM_75.set_scale
  1740. ROUTE TOM3-LOGIC_94.timerStartTime TO TOM3-TIMER_79.set_startTime
  1741. ROUTE TOM3-LOGIC_94.timerStopTime TO TOM3-TIMER_79.set_stopTime
  1742. ROUTE TOM3-TIMER_79.fraction_changed TO TOM3-FLASHER_80.set_fraction
  1743. ROUTE TOM3-TIMER_79.fraction_changed TO TOM3-THROBBER_81.set_fraction
  1744. ROUTE TOM3-TIMER_79.fraction_changed TO TOM3-DANCER_82.set_fraction
  1745. ROUTE TOM3-LOGIC_94.startTimeS0 TO TOM3-S0_83.set_startTime
  1746. ROUTE TOM3-LOGIC_94.stopTimeS0 TO TOM3-S0_83.set_stopTime
  1747. ROUTE TOM3-LOGIC_94.startTimeS1 TO TOM3-S1_84.set_startTime
  1748. ROUTE TOM3-LOGIC_94.stopTimeS1 TO TOM3-S1_84.set_stopTime
  1749. ROUTE TOM3-LOGIC_94.startTimeS2 TO TOM3-S2_85.set_startTime
  1750. ROUTE TOM3-LOGIC_94.stopTimeS2 TO TOM3-S2_85.set_stopTime
  1751. ROUTE TOM3-LOGIC_94.button0Switch TO TOM3-BUTTON0-SWITCHER_87.set_whichChoice
  1752. ROUTE TOM3-LOGIC_94.button1Switch TO TOM3-BUTTON1-SWITCHER_91.set_whichChoice
  1753. ROUTE TOM3-LOGIC_94.button2Switch TO TOM3-BUTTON2-SWITCHER_93.set_whichChoice
  1754. ROUTE TOM3-TRIGGER_76.touchTime TO TOM3-LOGIC_94.padTrigger
  1755. ROUTE TOM3-BUTTON0-TRIGGER_86.touchTime TO TOM3-LOGIC_94.button0Trigger
  1756. ROUTE TOM3-BUTTON1-TRIGGER_90.touchTime TO TOM3-LOGIC_94.button1Trigger
  1757. ROUTE TOM3-BUTTON2-TRIGGER_92.touchTime TO TOM3-LOGIC_94.button2Trigger
  1758. ROUTE TOM4-FLASHER_100.value_changed TO TOM4-MAT_98.set_emissiveColor
  1759. ROUTE TOM4-THROBBER_101.value_changed TO TOM4-BALL-XFORM_97.set_scale
  1760. ROUTE TOM4-DANCER_102.value_changed TO TOM4-STEM-XFORM_95.set_scale
  1761. ROUTE TOM4-LOGIC_114.timerStartTime TO TOM4-TIMER_99.set_startTime
  1762. ROUTE TOM4-LOGIC_114.timerStopTime TO TOM4-TIMER_99.set_stopTime
  1763. ROUTE TOM4-TIMER_99.fraction_changed TO TOM4-FLASHER_100.set_fraction
  1764. ROUTE TOM4-TIMER_99.fraction_changed TO TOM4-THROBBER_101.set_fraction
  1765. ROUTE TOM4-TIMER_99.fraction_changed TO TOM4-DANCER_102.set_fraction
  1766. ROUTE TOM4-LOGIC_114.startTimeS0 TO TOM4-S0_103.set_startTime
  1767. ROUTE TOM4-LOGIC_114.stopTimeS0 TO TOM4-S0_103.set_stopTime
  1768. ROUTE TOM4-LOGIC_114.startTimeS1 TO TOM4-S1_104.set_startTime
  1769. ROUTE TOM4-LOGIC_114.stopTimeS1 TO TOM4-S1_104.set_stopTime
  1770. ROUTE TOM4-LOGIC_114.startTimeS2 TO TOM4-S2_105.set_startTime
  1771. ROUTE TOM4-LOGIC_114.stopTimeS2 TO TOM4-S2_105.set_stopTime
  1772. ROUTE TOM4-LOGIC_114.button0Switch TO TOM4-BUTTON0-SWITCHER_107.set_whichChoice
  1773. ROUTE TOM4-LOGIC_114.button1Switch TO TOM4-BUTTON1-SWITCHER_111.set_whichChoice
  1774. ROUTE TOM4-LOGIC_114.button2Switch TO TOM4-BUTTON2-SWITCHER_113.set_whichChoice
  1775. ROUTE TOM4-TRIGGER_96.touchTime TO TOM4-LOGIC_114.padTrigger
  1776. ROUTE TOM4-BUTTON0-TRIGGER_106.touchTime TO TOM4-LOGIC_114.button0Trigger
  1777. ROUTE TOM4-BUTTON1-TRIGGER_110.touchTime TO TOM4-LOGIC_114.button1Trigger
  1778. ROUTE TOM4-BUTTON2-TRIGGER_112.touchTime TO TOM4-LOGIC_114.button2Trigger
  1779.